//
//  UIView+ToastView.h
//  YWBaseFrameWork
//
//  Created by 余伟 on 2017/2/5.
//  Copyright © 2017年 NeiQuan. All rights reserved.
//

#import <UIKit/UIKit.h>
/*
 1.自定义提示信息
 2.UI布局有局限
 3.耦合度有点高
 */
typedef void(^finish)();
@interface UIView (ToastView)

-(void)showToastlodingMessage  :(NSString *)lodingMessage;
-(void)showToastErrorMessage   :(NSString *)errorMessage;
-(void)showToastNetErrorMessage:(NSString *)netErrorMessage;
-(void)showToastSuccessMessage :(NSString *)successMessage;
-(void)showToastSuccessMessage :(NSString *)successMessage finish:(finish)block;
-(void)removeToastView;
@end
